package cn.thr.ymcc.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class Logininfodto {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
    //0是前台 1是后台
    private Integer type;
}
